<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Reranker Framework (ReFr): reranker::MemberInitializer Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Reranker Framework (ReFr)
   
   </div>
   <div id="projectbrief">Reranking framework for structure prediction and discriminative language modeling</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacereranker.html">reranker</a>      </li>
      <li class="navelem"><a class="el" href="classreranker_1_1_member_initializer.html">MemberInitializer</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">reranker::MemberInitializer Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="reranker::MemberInitializer" -->
<p>An interface for initializers of members of a <a class="el" href="classreranker_1_1_factory.html">Factory</a>-constructible object.  
 <a href="classreranker_1_1_member_initializer.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="factory_8_h_source.html">factory.H</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for reranker::MemberInitializer:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classreranker_1_1_member_initializer.png" usemap="#reranker::MemberInitializer_map" alt=""/>
  <map id="reranker::MemberInitializer_map" name="reranker::MemberInitializer_map">
<area href="classreranker_1_1_typed_member_initializer.html" alt="reranker::TypedMemberInitializer&lt; T &gt;" shape="rect" coords="0,56,229,80"/>
</map>
 </div></div>

<p><a href="classreranker_1_1_member_initializer-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_member_initializer.html#a93e6c74c8cb94bee8968e56853517bfe">MemberInitializer</a> (const string &amp;name, bool required)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_member_initializer.html#abe8bbe05d631bbe1976b4de8a853eed3">Name</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_member_initializer.html#a085d766d1e86d17d4323a46933fc012b">Init</a> (<a class="el" href="classreranker_1_1_stream_tokenizer.html">StreamTokenizer</a> &amp;st, <a class="el" href="classreranker_1_1_environment.html">Environment</a> *env)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_member_initializer.html#aae102105102356914b4a92d7d92b0a56">Initialized</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of times this member initializer&rsquo;s <a class="el" href="classreranker_1_1_member_initializer.html#a085d766d1e86d17d4323a46933fc012b">Init</a> method has been invoked.  <a href="#aae102105102356914b4a92d7d92b0a56"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_member_initializer.html#a628dcf5f10c9fb79f27254fcfd21cfe3">Required</a> () const </td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_member_initializer.html#a4907fd4c837c5dfc19b602228e0edc92">name_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The name of this member.  <a href="#a4907fd4c837c5dfc19b602228e0edc92"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_member_initializer.html#a337ee2f5e378b5c4ddee7f649bf0f3c1">initialized_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of times this member initializer&rsquo;s Init method has been invoked.  <a href="#a337ee2f5e378b5c4ddee7f649bf0f3c1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_member_initializer.html#aaeaa1401323e62caa4be09788f2af699">required_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether this member is required to be initialized.  <a href="#aaeaa1401323e62caa4be09788f2af699"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>An interface for initializers of members of a <a class="el" href="classreranker_1_1_factory.html">Factory</a>-constructible object. </p>

<p>Definition at line <a class="el" href="factory_8_h_source.html#l00065">65</a> of file <a class="el" href="factory_8_h_source.html">factory.H</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a93e6c74c8cb94bee8968e56853517bfe"></a><!-- doxytag: member="reranker::MemberInitializer::MemberInitializer" ref="a93e6c74c8cb94bee8968e56853517bfe" args="(const string &amp;name, bool required)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classreranker_1_1_member_initializer.html#a93e6c74c8cb94bee8968e56853517bfe">reranker::MemberInitializer::MemberInitializer</a> </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>required</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="factory_8_h_source.html#l00067">67</a> of file <a class="el" href="factory_8_h_source.html">factory.H</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a085d766d1e86d17d4323a46933fc012b"></a><!-- doxytag: member="reranker::MemberInitializer::Init" ref="a085d766d1e86d17d4323a46933fc012b" args="(StreamTokenizer &amp;st, Environment *env)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classreranker_1_1_member_initializer.html#a085d766d1e86d17d4323a46933fc012b">reranker::MemberInitializer::Init</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classreranker_1_1_stream_tokenizer.html">StreamTokenizer</a> &amp;&#160;</td>
          <td class="paramname"><em>st</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classreranker_1_1_environment.html">Environment</a> *&#160;</td>
          <td class="paramname"><em>env</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classreranker_1_1_typed_member_initializer.html#afca07d3366246c6c1a4c98a0df499b30">reranker::TypedMemberInitializer&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="aae102105102356914b4a92d7d92b0a56"></a><!-- doxytag: member="reranker::MemberInitializer::Initialized" ref="aae102105102356914b4a92d7d92b0a56" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int <a class="el" href="classreranker_1_1_member_initializer.html#aae102105102356914b4a92d7d92b0a56">reranker::MemberInitializer::Initialized</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the number of times this member initializer&rsquo;s <a class="el" href="classreranker_1_1_member_initializer.html#a085d766d1e86d17d4323a46933fc012b">Init</a> method has been invoked. </p>

<p>Definition at line <a class="el" href="factory_8_h_source.html#l00073">73</a> of file <a class="el" href="factory_8_h_source.html">factory.H</a>.</p>

</div>
</div>
<a class="anchor" id="abe8bbe05d631bbe1976b4de8a853eed3"></a><!-- doxytag: member="reranker::MemberInitializer::Name" ref="abe8bbe05d631bbe1976b4de8a853eed3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual string <a class="el" href="classreranker_1_1_member_initializer.html#abe8bbe05d631bbe1976b4de8a853eed3">reranker::MemberInitializer::Name</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="factory_8_h_source.html#l00069">69</a> of file <a class="el" href="factory_8_h_source.html">factory.H</a>.</p>

</div>
</div>
<a class="anchor" id="a628dcf5f10c9fb79f27254fcfd21cfe3"></a><!-- doxytag: member="reranker::MemberInitializer::Required" ref="a628dcf5f10c9fb79f27254fcfd21cfe3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool <a class="el" href="classreranker_1_1_member_initializer.html#a628dcf5f10c9fb79f27254fcfd21cfe3">reranker::MemberInitializer::Required</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="factory_8_h_source.html#l00074">74</a> of file <a class="el" href="factory_8_h_source.html">factory.H</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a337ee2f5e378b5c4ddee7f649bf0f3c1"></a><!-- doxytag: member="reranker::MemberInitializer::initialized_" ref="a337ee2f5e378b5c4ddee7f649bf0f3c1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classreranker_1_1_member_initializer.html#a337ee2f5e378b5c4ddee7f649bf0f3c1">reranker::MemberInitializer::initialized_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The number of times this member initializer&rsquo;s Init method has been invoked. </p>

<p>Definition at line <a class="el" href="factory_8_h_source.html#l00080">80</a> of file <a class="el" href="factory_8_h_source.html">factory.H</a>.</p>

</div>
</div>
<a class="anchor" id="a4907fd4c837c5dfc19b602228e0edc92"></a><!-- doxytag: member="reranker::MemberInitializer::name_" ref="a4907fd4c837c5dfc19b602228e0edc92" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="classreranker_1_1_member_initializer.html#a4907fd4c837c5dfc19b602228e0edc92">reranker::MemberInitializer::name_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The name of this member. </p>

<p>Definition at line <a class="el" href="factory_8_h_source.html#l00077">77</a> of file <a class="el" href="factory_8_h_source.html">factory.H</a>.</p>

</div>
</div>
<a class="anchor" id="aaeaa1401323e62caa4be09788f2af699"></a><!-- doxytag: member="reranker::MemberInitializer::required_" ref="aaeaa1401323e62caa4be09788f2af699" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classreranker_1_1_member_initializer.html#aaeaa1401323e62caa4be09788f2af699">reranker::MemberInitializer::required_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Whether this member is required to be initialized. </p>

<p>Definition at line <a class="el" href="factory_8_h_source.html#l00082">82</a> of file <a class="el" href="factory_8_h_source.html">factory.H</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="factory_8_h_source.html">factory.H</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Apr 9 2013 11:56:30 for Reranker Framework (ReFr) by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
